Integration tests for user session