Introduces PersistenceRealm#createAuthenticationInfo method

It is introduced in order to refactor the code to separate creating
SimpleAuthenticationInfo to the separated method.

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