Added 'modified' timestamp to authentication response, to be able to update user preferences based on previous modified value.
Fixed failing test