Securing jQM app? login or other options?

Securing jQM app? login or other options?

What options are there for securing / limiting access to my web app?    

Right now I have everything behind a login. I have cookies implemented to remember users, but Safari reloads the app from scratch every time I switch apps, even if only for 2 seconds...  and I have to relogin every time I go back to the app.  The cookies remember the credentials, but it still makes me click "login" and then I have to wait a couple seconds for things to load.

Is there a way to keep the session open/awake in safari so I can switch between apps?  

What are my options on something like this?  Let me know if more info is needed...