There was a change in the way user information is stored in the session. Instead of using the Play session cookie the module now uses a separate one. This cookie has an authenticator id. The user information is stored in an AuthenticatorStore implementation on the server side now. The default implementation uses the Play cache, that's why you need to authenticate again on recompilation. The data in the cache is being cleared.
If you want to keep users logged in after recompilation/restart you can:
- Create an implementation of AuthenticatorStore that persists things.
- Change the ehcache.xml file to persist in the filesystem (diskPersistent="true").