Tidy up missing user/app id error handling
Remove obsolete tests