Introduces PersistenceRealm#assertCredentialsNotExpired method

It is introduced in order to refactor checking if the account is not
expired.

Signed-off-by: Mario Krizmanic <mario.krizmanic@gmail.com>