Moved API log into logs/api.log
Fix #480, removed auth error on login page when redirect from app root
Fix non-existing users added to group as id 0 by API

When using API to add users to group, non-existing users will be added
as ID 0 to the group. Now iPeer ignore those non-existing users.