SecurityContext unit tests

Added:
* security_context_user_spec.js to verify logging in and logging out user data handling
* auth_api_spec.js to verify that the underlying Auth interface is called correctly
* session_length_spec.js to verify that the user is stored and expired from Local Storage