Got basic login with session cookies working