apl_session: Add apl_newsession function
apl_session: Store current user in struct
apl_session: Add apl_endsession function
Add session sanity test