Use restkit filter for authentication
Add tests
Remove obsolete params