[api] Use be_not_nobody! in Package model

If the source access is disabled for a package or project we want the user
to login. Therefore lets add a check for authentication before we check for
permission.

Signed-off-by: Jan Blunck <jblunck@infradead.org>