Expose session to tests

Add helper to authenticate a session with a set of session properties