Setting password and logging in/out now works (using Bluebird promises)