Added 2 methods: getUserByIdentityValue, filterIdentitiesAndGetUserByIt in EloquentRepository. Added tests for them. Fixed old tests. Removed getUserByEmailOrUsername from src/views/generators/repository.blade.php and replaced it with filterIdentitiesAndGetUserByIt method.